package com.system.service;

import com.system.dao.EmployeeDimissionMapper;
import com.system.pojo.EmployeeDimission;

import java.util.List;
import java.util.Map;

/**
 * Created by 陈文杰 on 2022/6/6 14:58
 */
public class EmployeeDimissionServiceImpl implements EmployeeDimissionService{

    private EmployeeDimissionMapper employeeDimissionMapper;

    public void setEmployeeDimissionMapper(EmployeeDimissionMapper employeeDimissionMapper) {
        this.employeeDimissionMapper = employeeDimissionMapper;
    }

    @Override
    public List<EmployeeDimission> queryEmployeeDimissionAll() {
        return employeeDimissionMapper.queryEmployeeDimissionAll();
    }

    @Override
    public EmployeeDimission queryEmployeeDimissionByEmpDimId(int empDimId) {
        return employeeDimissionMapper.queryEmployeeDimissionByEmpDimId(empDimId);
    }

    @Override
    public EmployeeDimission queryEmployeeDimissionByEmpId(int empId) {
        return employeeDimissionMapper.queryEmployeeDimissionByEmpId(empId);
    }

    @Override
    public EmployeeDimission queryEmployeeDimissionByEmpName(String empName) {
        return employeeDimissionMapper.queryEmployeeDimissionByEmpName(empName);
    }

    @Override
    public List<EmployeeDimission> queryEmployeeDimissionByEmpDimDeptName(String empDimDeptName) {
        return employeeDimissionMapper.queryEmployeeDimissionByEmpDimDeptName(empDimDeptName);
    }

    @Override
    public List<EmployeeDimission> queryEmployeeDimissionByEmpPost(String empPost) {
        return employeeDimissionMapper.queryEmployeeDimissionByEmpPost(empPost);
    }

    @Override
    public List<EmployeeDimission> queryEmployeeDimissionByEmpDimDate(String empDimDate) {
        return employeeDimissionMapper.queryEmployeeDimissionByEmpDimDate(empDimDate);
    }

    @Override
    public List<EmployeeDimission> queryEmployeeDimissionByEmpDimDateSection(String empDimDate1, String empDimDate2) {
        return employeeDimissionMapper.queryEmployeeDimissionByEmpDimDateSection(empDimDate1,empDimDate2);
    }

    @Override
    public int addEmployeeDimission(EmployeeDimission employeeDimission) {
        return employeeDimissionMapper.addEmployeeDimission(employeeDimission);
    }

    @Override
    public int updateEmployeeDimissionByEmpDimId(Map<String,Object> map) {
        return employeeDimissionMapper.updateEmployeeDimissionByEmpDimId(map);
    }

    @Override
    public int updateEmployeeDimissionByEmpId(Map<String,Object> map) {
        return employeeDimissionMapper.updateEmployeeDimissionByEmpId(map);
    }

    @Override
    public int updateEmployeeDimissionByEmpName(Map<String,Object> map) {
        return employeeDimissionMapper.updateEmployeeDimissionByEmpName(map);
    }

    @Override
    public int deleteEmployeeDimissionByEmpDimId(int empDimId) {
        return employeeDimissionMapper.deleteEmployeeDimissionByEmpDimId(empDimId);
    }

    @Override
    public int deleteEmployeeDimissionByEmpId(int empId) {
        return employeeDimissionMapper.deleteEmployeeDimissionByEmpId(empId);
    }

    @Override
    public int deleteEmployeeDimissionByEmpName(String empName) {
        return employeeDimissionMapper.deleteEmployeeDimissionByEmpName(empName);
    }

    @Override
    public int deleteEmployeeDimissionByEmpDimDeptName(String empDimDeptName) {
        return employeeDimissionMapper.deleteEmployeeDimissionByEmpDimDeptName(empDimDeptName);
    }

    @Override
    public int deleteEmployeeDimissionByEmpPost(String empPost) {
        return employeeDimissionMapper.deleteEmployeeDimissionByEmpPost(empPost);
    }

    @Override
    public int deleteEmployeeDimissionByEmpDimDate(String empDimDate) {
        return employeeDimissionMapper.deleteEmployeeDimissionByEmpDimDate(empDimDate);
    }

    @Override
    public int deleteEmployeeDimissionByEmpDimDateSection(String empDimDate1, String empDimDate2) {
        return employeeDimissionMapper.deleteEmployeeDimissionByEmpDimDateSection(empDimDate1,empDimDate2);
    }
}
